package me.keiwu.user.service;

import me.keiwu.pub.data.Response;
import me.keiwu.pub.data.wx.WXStepData;
import me.keiwu.user.domain.UserStep;

import java.util.List;

/**
 * Created by kei on 10/11/2017.
 */
public interface StepService {

    /**
     * 步数兑换星币
     * @param userId
     * @return
     */
    Response exchangeStep(long userId);


    /**
     * 保存步数数据
     * @param userId
     * @param stepData
     * @return
     */
    List<UserStep> saveStepData(long userId, WXStepData stepData);


}
